package com.atgouwu.mall.service.impl;

import com.atgouwu.mall.mapper.WxMapper;
import com.atgouwu.mall.domain.entity.WxStatus;
import com.atgouwu.mall.service.WxService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class WxServiceImpl implements WxService {

    @Autowired
    private WxMapper wxMapper;

    @Override
    public String getWxInfo(Long id) {
        WxStatus wxInfo = wxMapper.selectWxStatusList(id);
        return String.valueOf(wxInfo);
    }

}
